package org.example.ttms.customize;

import org.example.ttms.entityClass.ticket.Ticket;
import org.example.ttms.entityClass.train.Trips;

public class ChangeTicketWindow extends Window{
    public static Ticket ticket;
    public static Trips trips;
    //改签窗口
    public void changeTicketWindow(Ticket ticket2){
        ticket = ticket2;
        title = "改签";
        window("changeTicketHost.fxml");
    }
    //改签窗口
    public void changeTicketWindow2(Ticket ticket2, Trips trips2){
        trips = trips2;
        ticket = ticket2;
        title = "改签";
        window("changeTicket.fxml");
    }
}
